home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / tex / macros / distribs / nfss / euscript.doc (.txt) < prev    next >
LaTeX Document  |  1992-11-29  |  9KB  |  228 lines

  1. % \iffalse meta-comment
  2. % Copyright (C) 1989-1992 by Frank Mittelbach, Rainer Schoepf.
  3. % All rights reserved.
  4. % This file is part of the NFSS (New Font Selection Scheme) package.
  5. % IMPORTANT NOTICE:
  6. % You are not allowed to change this file.  You may however copy
  7. % this file to a file with a different name and then change the copy
  8. % if you obey the restrictions on file changes described in
  9. % readme.mz.
  10. % You are allowed to distribute this file under the condition that
  11. % it is distributed together with all files mentioned in readme.mz3.
  12. % If you receive only some of these files from someone, complain!
  13. % You are NOT ALLOWED to distribute this file alone.  You are NOT
  14. % ALLOWED to take money for the distribution or use of either this
  15. % file or a changed version, except for a nominal charge for copying
  16. % etc.
  17. % For error reports in case of UNCHANGED versions see readme files.
  18. % Please do not request updates from us directly.  Distribution is
  19. % done through Mail-Servers and TeX organizations.
  20. % \fi
  21. \def\fileversion{v1.0g}
  22. \def\filedate{92/06/20}
  23. \def\docdate {92/06/20}
  24. %% \CheckSum{81}
  25. %% \CharacterTable
  26. %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
  27. %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
  28. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  29. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  30. %%   Dollar        \$     Percent       \%     Ampersand     \&
  31. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  32. %%   Asterisk      \*     Plus          \+     Comma         \,
  33. %%   Minus         \-     Point         \.     Solidus       \/
  34. %%   Colon         \:     Semicolon     \;     Less than     \<
  35. %%   Equals        \=     Greater than  \>     Question mark \?
  36. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  37. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  38. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  39. %%   Right brace   \}     Tilde         \~}
  40. %\iffalse   % This is a META comment
  41. % File `euscript.doc'.
  42. %% Copyright (C) 1990-1992 Frank Mittelbach and Rainer Sch\"opf,
  43. %% all rights reserved.
  44. % \changes{1.0g}{92/06/20}{Driver file added.}
  45. % \changes{1.0g}{92/06/20}{Documentation updated.}
  46. % \MakeShortVerb{\|}
  47. % \def\Warning#1{\begin{quote}{\bf Warning:\quad}#1\end{quote}}
  48. % \title{The {\tt euscript} style option\thanks
  49. %        {This file has version number \fileversion, dated \filedate.
  50. %         The documentation was last revised on \docdate}\\
  51. %       for use with the new font selection scheme}
  52. % \author{Frank Mittelbach \and Rainer Sch\"opf}
  53. % \maketitle
  54. % \section{Introduction}
  55. % This style option sets up some font shape definition to use the Euler
  56. % script symbols in math mode.  It can only  be used with the new font
  57. % selection scheme but does not require the option {\tt amstex}.
  58. % \DescribeMacro\EuScript
  59. % To access the Euler Script alphabet a \meta{math alphabet identifier}
  60. % called |\EuScript| is provided. For example, the input
  61. % \begin{verbatim}
  62. %    \EuScript{A} \neq \cal{A}
  63. %\end{verbatim}
  64. % will produce
  65. %    \EuScript{A} \neq \cal{A}
  66. % provided the {\tt margid} option is in force. Otherwise the
  67. % \meta{math alphabet identifier}s don't have arguments but simply
  68. % switch to the corresponding fonts so that the equation is better
  69. % entered as
  70. % \begin{verbatim}
  71. %    {\EuScript A} \neq {\cal A}
  72. %\end{verbatim}
  73. % even if in this case the results are the same.
  74. % Here is a complete table of the  beautiful letters drawn by Hermann
  75. % Zapf:
  76. % \begin{displaymath}
  77. %   \newcommand{\E}[1]{\EuScript{#1} &}
  78. %   \begin{array}{*{10}c}
  79. %     \E{A} \E{B} \E{C} \E{D} \E{E} \E{F} \E{G} \E{H} \E{I} \\
  80. %     \E{J} \E{K} \E{L} \E{M} \E{N} \E{O} \E{P} \E{Q} \E{R} \\
  81. %     \E{S} \E{T} \E{U} \E{V} \E{W} \E{X} \E{Y} \E{Z}
  82. %   \end{array}
  83. % \end{displaymath}
  84. % \StopEventually{}
  85. % \section{The Implementation}
  86. % We have three things to do: 1) identifying the current style option,
  87. % 2) enlarging the font shape tables and 3) defining the \meta{math
  88. % alphabet identifier}.
  89. % We start by writing to the VDU and the transcript file.
  90. %    \begin{macrocode}
  91. %<*style>
  92. \typeout{Style Option: `euscript'
  93.   \fileversion\space <\filedate> (FMi and RmS)}
  94. \typeout{English Documentation
  95.   \@spaces\@spaces\space <\docdate> (FMi)}
  96. %    \end{macrocode}
  97. % But we should also check if the new font selection is actually in
  98. % force otherwise the user will get a lot of uninstructive error
  99. % messages later on. 
  100. %    \begin{macrocode}
  101. \@ifundefined{selectfont}
  102.      {\@latexerr{`euscript' style option can only be used
  103.                   with the new font selection scheme}\@eha
  104.       \endinput}{}
  105. %    \end{macrocode}
  106. % Now we define the font shapes for Euler Script medium and bold.
  107. % \changes{v1.0c}{90/01/28}{Fifth argument for `new@fontshape.}
  108. %    \begin{macrocode}
  109. \new@fontshape{eus}{m}{n}{%
  110.    <5>eusm5%
  111.    <6>eusm6%
  112.    <7>eusm7%
  113.    <8>eusm8%
  114.    <9>eusm9%
  115.    <10>eusm10%
  116.    <11>eusm10 at10.95pt%
  117.    <12>eusm10 at12pt%
  118.    <14>eusm10 at14.4pt%
  119.    <17>eusm10 at17.28pt%
  120.    <20>eusm10 at20.74pt%
  121.    <25>eusm10 at24.88pt}{}
  122. \new@fontshape{eus}{b}{n}{%
  123.    <5>eusb5%
  124.    <6>eusb6%
  125.    <7>eusb7%
  126.    <8>eusb8%
  127.    <9>eusb9%
  128.    <10>eusb10%
  129.    <11>eusb10 at10.95pt%
  130.    <12>eusb10 at12pt%
  131.    <14>eusb10 at14.4pt%
  132.    <17>eusb10 at17.28pt%
  133.    <20>eusb10 at20.74pt%
  134.    <25>eusb10 at24.88pt}{}
  135. %    \end{macrocode}
  136. % If there is any |\skewchar| for accents it should be added to
  137. % the `extra' macro.
  138. % \Warning{Maybe we have to add something here.}
  139. %    \begin{macrocode}
  140. \extra@def{eus}{}{\noaccents@}
  141. %    \end{macrocode}
  142. % Now we define the \meta{math alphabet identifier}. At the moment
  143. % this is only a copy of the documentation for |\frak| from {\tt
  144. % amsfonts.doc} with a rename of the macro names.
  145. % \begin{macro}{\EuScript}
  146. % \begin{macro}{\pEuScript}
  147. % \begin{macro}{\EuScript@}
  148. %    The $\EuScript{EULER\ SCRIPT}$ alphabet will be accessed by the
  149. %    command |\EuScript| inside of math mode. Since the current
  150. %    \LaTeX{} version 2.9 has problems with so called {\em fragile\/}
  151. %    commands we define |\EuScript| simply as:
  152. %    \begin{macrocode}
  153. \def\EuScript{\protect\pEuScript}
  154. %    \end{macrocode}
  155. %    Note that this command has no arguments, it simply calls or
  156. %    protects (depending on the current meaning of |\protect|)
  157. %    the |\pEuScript| macro.  This macro now checks if it is called
  158. %    in math mode and if so calls the correct \meta{math alphabet
  159. %    identifier}.
  160. %    \begin{macrocode}
  161. \def\pEuScript{\RIfM@\expandafter\EuScript@\else
  162.                  \expandafter\nonmatherr@\expandafter\EuScript\fi}
  163. %    \end{macrocode}
  164. %    Now we define the \meta{math alphabet identifier} |\EuScript@|.
  165. %    In this case we do not give a default value since the
  166. %    corresponding font exists in different weights.
  167. %    \begin{macrocode}
  168. \newmathalphabet\EuScript@
  169. \addtoversion{normal}\EuScript@{eus}{m}{n}
  170. \addtoversion{bold}\EuScript@{eus}{b}{n}
  171. %    \end{macrocode}
  172. % \end{macro}
  173. % \end{macro}
  174. % \end{macro}
  175. %  \begin{macro}{\RIfM@}
  176. %    Some code from {\tt amstex.sty}:
  177. %  \changes{v1.0e}{91/11/22}{Added missing definition.}
  178. %    \begin{macrocode}
  179. \def\RIfM@{\relax\protect\ifmmode}
  180. %    \end{macrocode}
  181. %  \end{macro}
  182. %  \begin{macro}{\noaccents@}
  183. %    If we don't have a definition for |\noaccents@| we provide a
  184. %    dummy.
  185. %  \changes{v1.0f}{92/02/09}{Added another missing definition.}
  186. %    \begin{macrocode}
  187. \ifx\noaccents@\undefined
  188.   \let\noaccents@\@empty
  189. %</style>
  190. %    \end{macrocode}
  191. %  \end{macro}
  192. % \section{The documentation driver file}
  193. % The next bit of code contains the documentation driver file for
  194. % \TeX{}, i.e., the file that will produce the documentation you are
  195. % currently reading. It will be extracted from this file by the {\tt
  196. % docstrip} program.
  197. %    \begin{macrocode}
  198. %<+driver>\documentstyle[euscript,newlfont,doc]{article}
  199. %<+driver>
  200. %<+driver>% dimensions from ltugboat.sty:
  201. %<+driver>
  202. %<+driver>\setlength\textwidth{31pc} 
  203. %<+driver>\setlength\textheight{54pc}
  204. %<+driver>\setlength{\parindent}{0pt}
  205. %<+driver>\setlength{\parskip}{2pt plus 1pt minus 1pt}
  206. %<+driver>\setlength{\oddsidemargin}{8pc} 
  207. %<+driver>\setlength{\marginparwidth}{8pc}
  208. %<+driver>\setlength{\topmargin}{-2.5pc} 
  209. %<+driver>\setlength{\headsep}{20pt}
  210. %<+driver>\setlength{\columnsep}{1.5pc} 
  211. %<+driver>\setlength{\columnwidth}{18.75pc}
  212. %<+driver>
  213. %<+driver>\EnableCrossrefs         
  214. %<+driver>%\DisableCrossrefs % Say \DisableCrossrefs if index is ready
  215. %<+driver>
  216. %<+driver>\RecordChanges     % Gather update information
  217. %<+driver>
  218. %<+driver>\CodelineIndex     % Index code by line number
  219. %<+driver>
  220. %<+driver>%\OnlyDescription  % comment out for implementation details
  221. %<+driver>%\OldMakeindex     % use if your MakeIndex is pre-v2.9
  222. %<+driver>\begin{document}
  223. %<+driver>   \DocInput{euscript.doc}
  224. %<+driver>\end{document}
  225. %    \end{macrocode}
  226. % \Finale
  227. \endinput
  228.